package com.swx.identityservice.service.impl;


import com.swx.identityservice.mapper.ScbpUserRoleMapper;
import com.swx.identityservice.service.ScbpUserRoleService;
import com.swx.identityservice.models.ScbpUserRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LC
 * @version V1.0.0
 * @date 2018-5-31 14:31
 */
@Service
public class ScbpUserRoleServiceImpl extends CrudServiceImpl<ScbpUserRole> implements ScbpUserRoleService {

    @Autowired
    private ScbpUserRoleMapper scbpUserRoleMapper;
    @Override
    public int deleteurByUserId(Integer userid) {
        return scbpUserRoleMapper.deleteurbyuserid(userid);
    }
}
